/*
 * @Description:检验范畴
 */
import request from '@/utils/request'
export default {
    //添加
    add(data) {
        return request.post(`/fish/base/checkScoreConfig/add`, { ...data })
    },
    //编辑
    edit(data) {
        return request.post(`/fish/base/checkScoreConfig/edit`, { ...data })
    },
    //批量删除
    delList(list) {
        return request.get(`/fish/base/checkScoreConfig/delListById?idList=${list}`)
    },
    //条件查询
    queryByCondition(data) {
        return request.post(`/fish/base/checkScoreConfig/queryByCondition`, { ...data })
    },
    //分页查询
    queryPageByCondition(data) {
        return request.post(`/fish/base/checkScoreConfig/queryPageByCondition`, { ...data })
    },
    //根据检验分数配置id查询明细
    findAllByCheckScoreConfigId(id) {
        return request.get(`/v3/fish/base/checkScoreConfig/findAllByCheckScoreConfigId?checkScoreConfigId=${id}`)
    },
};
